aggregation groups a string array by each of its values, or refuses it where storage cannot